package com.exercise.DesignPattern.BehavioralPatterns.MediatorPattern;

//组件接口
public abstract class Component {
    protected Mediator mediator;

    public Component(Mediator mediator) {
        this.mediator = mediator;
    }
    public abstract void handleEvent(String event);
}
